package com.javajun.douban.entity;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

public class BookJson {

    // 评价
    private Rating rating;
    // 副标题
    private String subtitle;
    // 作者
    private List<String> author = new ArrayList<>();
    // 出版年
    private String pubdate;
    // 标签
    private List<Tag> tags = new ArrayList<>();
    // 原产地名称
    @JsonProperty("origin_title")
    // @JsonIgnoreProperties
    private String originTitle;
    private String image;
    private String binding;
    // 译者
    private List<String> translator = new ArrayList<>();
    private String catalog;
    private String pages;
    // 图片
    private Images images;
    private String alt;
    // 豆瓣id
    private String id;
    // 出版社
    private String publisher;
    private String isbn10;
    private String isbn13;
    // 标题
    private String title;
    // 豆瓣Url
    private String url;
    @JsonProperty("alt_title")
    private String altTitle;
    // 作者详细
    @JsonProperty("author_intro")
    private String authorIntro;
    private String summary;
    private Series series;
    // 定价
    private String price;
    @JsonProperty("ebook_price")
    private String ebookPrice;
    @JsonProperty("ebook_url")
    private String ebookUrl;
    
    public Rating getRating() {
        return rating;
    }
    public void setRating(Rating rating) {
        this.rating = rating;
    }
    public String getSubtitle() {
        return subtitle;
    }
    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }
    public String getPubdate() {
        return pubdate;
    }
    public void setPubdate(String pubdate) {
        this.pubdate = pubdate;
    }
    public List<Tag> getTags() {
        return tags;
    }
    public void setTags(List<Tag> tags) {
        this.tags = tags;
    }
    public String getOriginTitle() {
        return originTitle;
    }
    public void setOriginTitle(String originTitle) {
        this.originTitle = originTitle;
    }
    public String getImage() {
        return image;
    }
    public void setImage(String image) {
        this.image = image;
    }
    public String getBinding() {
        return binding;
    }
    public void setBinding(String binding) {
        this.binding = binding;
    }
    public List<String> getTranslator() {
        return translator;
    }
    public void setTranslator(List<String> translator) {
        this.translator = translator;
    }
    public String getCatalog() {
        return catalog;
    }
    public void setCatalog(String catalog) {
        this.catalog = catalog;
    }
    public String getPages() {
        return pages;
    }
    public void setPages(String pages) {
        this.pages = pages;
    }
    public Images getImages() {
        return images;
    }
    public void setImages(Images images) {
        this.images = images;
    }
    public String getAlt() {
        return alt;
    }
    public void setAlt(String alt) {
        this.alt = alt;
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getPublisher() {
        return publisher;
    }
    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }
    public String getIsbn10() {
        return isbn10;
    }
    public void setIsbn10(String isbn10) {
        this.isbn10 = isbn10;
    }
    public String getIsbn13() {
        return isbn13;
    }
    public void setIsbn13(String isbn13) {
        this.isbn13 = isbn13;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getUrl() {
        return url;
    }
    public void setUrl(String url) {
        this.url = url;
    }
    public String getAltTitle() {
        return altTitle;
    }
    public void setAltTitle(String altTitle) {
        this.altTitle = altTitle;
    }
    public String getAuthorIntro() {
        return authorIntro;
    }
    public void setAuthorIntro(String authorIntro) {
        this.authorIntro = authorIntro;
    }
    public String getSummary() {
        return summary;
    }
    public void setSummary(String summary) {
        this.summary = summary;
    }
    public String getPrice() {
        return price;
    }
    public void setPrice(String price) {
        this.price = price;
    }
    public List<String> getAuthor() {
        return author;
    }
    public void setAuthor(List<String> author) {
        this.author = author;
    }
    
    @Override
    public String toString() {
        return "BookJson [rating=" + rating + ", subtitle=" + subtitle + ", author=" + author + ", pubdate=" + pubdate
                + ", tags=" + tags + ", originTitle=" + originTitle + ", image=" + image + ", binding=" + binding
                + ", translator=" + translator + ", catalog=" + catalog + ", pages=" + pages + ", images=" + images
                + ", alt=" + alt + ", id=" + id + ", publisher=" + publisher + ", isbn10=" + isbn10 + ", isbn13="
                + isbn13 + ", title=" + title + ", url=" + url + ", altTitle=" + altTitle + ", authorIntro="
                + authorIntro + ", summary=" + summary + ", price=" + price + "]";
    }
    public Series getSeries() {
        return series;
    }
    public void setSeries(Series series) {
        this.series = series;
    }
    public String getEbookPrice() {
        return ebookPrice;
    }
    public void setEbookPrice(String ebookPrice) {
        this.ebookPrice = ebookPrice;
    }
    public String getEbookUrl() {
        return ebookUrl;
    }
    public void setEbookUrl(String ebookUrl) {
        this.ebookUrl = ebookUrl;
    }
    
}
